<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>详情</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no,email=no,address=no"/>
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <link rel="stylesheet" href="../css/common.css"/>
    <link rel="stylesheet" href="../css/main.css"/>
</head>
<body>
    <article>
        <!--<p class="plr24 lh80 bw">订单状态: <span class="color1">已完成</span></p>
        <div class="ptb20 plr24 bw mt20">
            <p class="col9 mt10">地址:jdjldjldjldjdlj</p>
        </div>
        <div class="plr24 mt10 bw">
            <div class="ptb30 flex_a bdb">
                <div><img src="../img/test.png" class="goods_pic"></div>
                <div class="flex1 ml20">
                    <p>清风纸巾</p>
                    <p class="flex_sb">
                        <span class="color2">￥2.00</span>
                        <cite class="col9">x1</cite>
                    </p>
                </div>
            </div>
            <div class="tae lh80">
               <span class="col9">实付款:</span>
                <cite class="color2">￥10.00</cite>
            </div>
        </div>
        <div class="mt10 plr24 ptb24 bw">
            <p>订单编号:<span class="col9">44364134131</span></p>
            <p class="mt10">交易号:<span class="col9">44364134131</span></p>
            <p class="mt10">创建时间:<span class="col9">2017-06-06 12:26:12</span></p>
        </div>-->
    </article>
</body>
</html>
<script src="../js/jquery-1.8.3.min.js"></script>
<script src="../js/dlc.js"></script>
<script src="../js/Unix.js"></script>
<script>
 	dlc_request('/api/h5/userOrderInfo',{id:getUrlParam('id')}, function(res){
          console.log(res);
          $('article').append(' <p class="plr24 lh80 bw">订单状态: <span class="'+(res.data.status==0?'color4':res.data.status==1?'color3':'color2')+'">'+(res.data.status==0?'待支付':res.data.status==1?'支付完成':'未出货')+'</span></p>'+
        '<div class="ptb20 plr24 bw mt20">'+
            '<p class="col9 mt10">地址:'+res.data.addressDetail+'</p>'+
       ' </div>'+
        '<div class="plr24 mt10 bw">'+
            '<div class="ptb30 flex_a bdb">'+
                '<div><img src="'+res.data.goodsImgUrl+'" class="goods_pic"></div>'+
                '<div class="flex1 ml20">'+
                   ' <p>'+res.data.goodsName+'</p>'+
                    '<p class="flex_sb">'+
                        '<span class="color2">￥'+res.data.price+'</span>'+
                        '<cite class="col9">x'+res.data.num+'</cite>'+
                   ' </p>'+
               ' </div>'+
            '</div>'+
            '<div class="tae lh80">'+
               '<span class="col9">实付款:</span>'+
                '<cite class="color2">￥'+res.data.totalPrice+'</cite>'+
            '</div>'+
       ' </div>'+
        '<div class="mt10 plr24 ptb24 bw">'+
            '<p>订单编号:<span class="col9">'+res.data.orderNo+'</span></p>'+
            '<p class="mt10">交易号:<span class="col9">'+res.data.transactionNo+'</span></p>'+
            '<p class="mt10">创建时间:<span class="col9">'+date('Y-m-d H:i:s',res.data.createTime/1000)+'</span></p>'+
        '</div>')
    })
</script>






















